package com.pg.agent.engine.service.service;

import com.pg.agent.engine.client.dto.AgentExeDTO;
import com.pg.agent.engine.client.model.SessionObject;

import javax.servlet.http.HttpServletResponse;


public interface AIRunService {

    AgentExeDTO startSOP(AgentExeDTO runSopDTO);

    /**
     * 运行辩论服务
     *
     * @param runSopDTO
     * @return
     */
    //SingleResponse<OutPutMessage> runSOP(RunSopDTO runSopDTO);

    void endSOP(AgentExeDTO runSopDTO);


    void taskSOPStream(AgentExeDTO runSopDTO, HttpServletResponse response, SessionObject sessionObject, String userKey);

    void dialogueRunSOPStream(AgentExeDTO runSopDTO, HttpServletResponse response, SessionObject sessionObject, String userKey);

    void runSOPStream(AgentExeDTO runSopDTO, HttpServletResponse response);
}
